package cn.wubo.multi.thread.demo01;

import java.util.stream.IntStream;

/**
 * Runnable 一个接口
 */
public class Demo0101 {

    public static void main(String[] args) {
        IntStream.range(0, 10).forEach(i -> new Thread(new Demo0101Runnable()).start());
    }
}
